﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="uc_main/Uc_Menu.ascx" TagName="Uc_Menu" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Việc làm gấp | Kiếm thêm việc làm gấp , thu nhập không hạn định</title>
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
   <%-- <link href="<%=ResolveClientUrl("css/style2.css") %>" rel="stylesheet" type="text/css" />--%>
   <%-- <script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="js/jquery.lazyload.js" type="text/javascript"></script>
    <script src="js/jquery.leanModal.min.js" type="text/javascript"></script>--%>
    <link href="css/leanModal.css" rel="stylesheet" type="text/css" />
     <%--<link type="text/css" href="css/CssCombine.ashx" rel="Stylesheet"/>--%>
    <link href="css/style2.css" rel="stylesheet" type="text/css" />
    <link href="css/style_index2.css" rel="stylesheet" type="text/css" />
    <link href="css/stylechitiet.css" rel="stylesheet" type="text/css" />
    <script src="js/JScript.js" type="text/javascript"></script>
    <meta name="google-site-verification" content="nBSvj_dW-TMU7EQ0mJHG_8XpNt3DxbS63embOQV-sDo" />
    <meta content="INDEX,FOLLOW" name="robots">
    <meta content="Vietnamese" name="language">
    <meta content="Copyright (C) 2011 www.vieclamgap.net" name="copyright">
    <meta content="www.vieclamgap.net" name="author">
    <meta content="Document,Service" name="resource-type">
    <meta content="www.vieclamgap.net" name="owner">
    <meta content="1 day" name="revisit-after">
    <meta content="General" name="document-rating">
    <meta content="Global" name="document-distribution">
    <meta content="Global" name="distribution">
    <meta content="Network Solution" name="area">
    <meta content="vietnam" name="placename">
    <meta content="Document" name="resource-type">
    <meta content="All" name="rating">
    <meta content="www.vieclamgap.net" name="classification">
    <script type="text/javascript">
        $(function () {
            $("img").lazyload({
                event: "sporty"
            });
        });

        $(window).bind("load", function () {
            var timeout = setTimeout(function () { $("img").trigger("sporty") }, 2500);
        });

        $(function () {
            $('a[rel*=leanModal]').leanModal({ top: 230, closeButton: ".modal_close" });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper">
        <div id="header">
            <div id="banner">
                <object width="1000" height="230">
                    <param name="movie" value="<%=ResolveClientUrl("~/img/banner.swf")%>" />
                    <param name="wmode" value="transparent" />
                    <embed width="1000" height="230" src="<%=ResolveClientUrl("~/img/banner.swf")%>"
                        type="application/x-shockwave-flash" />
                </object>
            </div>
            <!-- Menu -->
            <uc1:Uc_Menu ID="Uc_Menu1" runat="server" />
            <!-- Menu -->
        </div>
        <div id="container">
            <div style="text-align: center; width: 1000px; height: 1055px">
                <img id="imgMap" src="img/bg.jpg" usemap="#imgMap" border="0" width="1000" height="1055"
                    alt="" onclick="return imgMap_onclick()" />
                <map id="_imgMap" name="imgMap">
                    <area shape="rect" coords="813,59,899,144" href='chi-tiet/Advertising--Quang-Cao.html' title="Quảng cáo" />
                    <area shape="rect" coords="571,31,647,105" href="chi-tiet/Gift--Qua-Tang.html" alt="" title="Quà tặng" />
                    <area shape="rect" coords="869,264,945,339" href="chi-tiet/Music--Am-Nhac.html" alt="" title="Âm nhạc" />
                    <area shape="rect" coords="628,263,704,338" href="details.aspx?c=3" alt="" title="Video" />
                    <area shape="rect" coords="485,107,556,178" href="chi-tiet/Business-Kinh-Doanh.html" alt="" title="Kinh doanh" />
                    <area shape="rect" coords="337,61,416,143" href="chi-tiet/Graphic--Do-Hoa.html" alt="" title="Đồ họa" />
                    <area shape="rect" coords="683,448,779,545" href="chi-tiet/Social-Marketing-Tiep-Thi.html" alt="" title="Tiếp thị" />
                    <area shape="rect" coords="513,511,588,582" href="chi-tiet/Travel--Du-Lich.html" alt="" title="Du lịch" />
                    <area shape="rect" coords="338,222,417,296" href="details.aspx?c=11" alt="" title="Mẹo & Tư Vấn" />
                    <area shape="rect" coords="267,496,346,570" href="chi-tiet/Other--Khac.html" alt="" title="Khác" />
                    <area shape="rect" coords="122,441,211,535" href="chi-tiet/Fun--Bizarre--Ky-La.html" alt="" title="Lạ" />
                    <area shape="rect" coords="132,302,205,376" href="chi-tiet/Writing--Bai-Viet.html" alt="" title="Bài viết" />
                    <area shape="rect" coords="45,154,118,228" href="details.aspx?c=12" alt="" title="Công nghệ" />
                    <area shape="rect" coords="143,102,221,180" href="chi-tiet/Programming--Lap-Trinh.html" alt="" title="Lập trình" />
                    <area shape="rect" coords="998,1053,1000,1055" href="details.aspx?c=13" alt="Image Map"
                        title="Image Map" />
                </map>
            </div>
        </div>
        <div id="footer">
            <div id="tren">
                <ul>
                    <li style='background-image: url(img/img_default_sprite.png); background-position: -20px -10px;background-repeat: no-repeat;'>FOLLOW US ON :</li>
                    <li style='background-image: url(img/img_default_sprite.png); background-position: -20px -45px;background-repeat: no-repeat;'><a href="http://www.facebook.com/vieclam.gap"
                        target="_blank">Facebook</a></li>
                    <li style='background-image: url(img/img_default_sprite.png); background-position: -20px -81px;background-repeat: no-repeat;'><a href="https://twitter.com/vieclamgap"
                        target="_blank" title="Follow us on Switter">Switter</a></li>
                    <li style='background-image: url(img/img_default_sprite.png); background-position: -20px -117px;background-repeat: no-repeat;'><a href="https://plus.google.com/u/0/111234992252807505623/posts"
                        target="_blank">Google+</a></li>
                    <li style='background-image: url(img/img_default_sprite.png); background-position:-20px -153px;background-repeat: no-repeat;'><a href="http://www.linkedin.com/pub/vieclam-gap/55/bba/875"
                        target="_blank">LinkedIn</a></li>
                    <li style='background-image: url(img/img_default_sprite.png);background-position:-10px -200.9px;background-repeat:no-repeat;'><a href="http://pinterest.com/vieclamgap/"
                        target="_blank">Pinterest</a></li>
                </ul>
            </div>
            <div class="clear">
            </div>
        </div>
        <p id="pnSupport">
            <a href="#signup" name="signup" rel="leanModal" id="go">Support</a>
        </p>
        <div id="signup">
            <div id="signup-ct">
                <div id="signup-header">
                    <h2 style="color: Red; display: none" id="messageSuccessModal">
                        Gửi yêu cầu thành công
                    </h2>
                    <h2>
                        Gửi thông tin hỗ trợ</h2>
                    <a href="" class="modal_close"></a>
                </div>
                <div class="txt-fld">
                    <label for="">
                        Username</label>
                    <input type="text" id="txtUsernameModal" /><span style="color: red" id="txtUsernameModalError"></span>
                </div>
                <div class="txt-fld">
                    <label for="">
                        Email address</label>
                    <input type="text" id="txtEmailModal">
                    <span style="color: red" id="txtEmailModalError"></span>
                </div>
                <div class="txt-fld">
                    <label for="">
                        Nội dung</label>
                    <textarea rows="5" id="txtQuestionModal"></textarea>
                    <span style="color: red" id="txtQuestionModalError"></span>
                </div>
                <div class="btn-fld">
                    <span style="color: Red">(*)</span> không được trống
                    <button type="button" id="btnSubmitModal">
                        Gửi</button>
                    <button type="button" id="btnReset">
                        Làm lại</button>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(".modal_close").click(function () {
            return false;
        });
        $("#btnSubmitModal").click(function () {
            var userNameValue = $("#txtUsernameModal").val();
            var emailValue = $("#txtEmailModal").val();
            var questionValue = $("#txtQuestionModal").val();
            if (userNameValue == null || userNameValue == "") {
                $("#txtUsernameModalError").text("(*)");
                $("#txtUsernameModal").focus();
                return false;
            }
            else
                $("#txtUsernameModalError").text("");

            if (emailValue == null || emailValue == "") {
                $("#txtEmailModal").focus();
                $("#txtEmailModalError").text("(*)");
                return false;
            }
            else
                $("#txtEmailModalError").text("");

            if (questionValue == null || questionValue == "") {
                $("#txtQuestionModal").focus();
                $("#txtQuestionModalError").text("(*)");
                return false;
            }
            else
                $("#txtQuestionModalError").text("");

            $.ajax({
                type: "POST",
                url: "default.aspx/InsertSupportModal",
                data: '{userName: "' + userNameValue + '"' + ',email:"' + emailValue + '"' + ',question:"' + questionValue + '"' + ' }',
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (response) {
                    if (response.d == 0) {
                        alert("Có lỗi xảy ra, vui lòng thực hiện lai");
                    }
                    else {
                        $("#messageSuccessModal").show();

                        setTimeout(function () {
                            $("#lean_overlay").fadeOut(200);
                            $("#signup").css({ "display": "none" });
                            ClearTextModal();
                        }, 1000);
                    }


                },
                failure: function (response) {
                    alert("Có lỗi xảy ra, vui lòng thực hiện lai");
                }
            });

            return false;
        })
        $("#btnReset").click(function () {
            ClearTextModal();
            return false;
        })
        function ClearTextModal() {
            $("#txtUsernameModal").val("");
            $("#txtEmailModal").val("");
            $("#txtQuestionModal").val("");
            $("#txtUsernameModalError").text("");
            $("#txtEmailModalError").text("");
            $("#txtQuestionModalError").text("");
            $("#messageSuccessModal").hide();
        }
    </script>
    </form>
</body>
</html>
